package com.lqfan.autoAnswerQ.model.subjectType;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zml
 * @since 2020-05-03
 */
@TableName("subjectType")
public class SubjectType extends Model<SubjectType> {

    private static final long serialVersionUID = 1L;

    private String id;

    private Long score;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Long getScore() {
        return score;
    }

    public void setScore(Long score) {
        this.score = score;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "SubjectType{" +
        "id=" + id +
        ", score=" + score +
        "}";
    }
}
